package cn.vortex.device.service;

import cn.vortex.device.vo.Apply;
import cn.vortex.device.vo.PageVo;

import java.util.Map;

public interface ApplyService extends BaseService<Apply,Integer> {

    /**
     * 重载方法（apply页面使用）
     * @param user
     * @param currentPage
     * @param rows
     * @param resources
     * @return
     * @throws Exception
     */
    PageVo<Apply> pageObj(String user, String currentPage, String rows, Map<String,Object> resources)throws Exception;

    /**
     * 修改申请
     * @param apply
     * @return
     * @throws Exception
     */
    boolean updateApply(Apply apply)throws Exception;
}
